package models

import "gorm.io/gorm"

type Medical struct {
	gorm.Model
	Name   string `gorm:"type:varchar(30)" json:"name"`
	Sex    string `gorm:"type:varchar(30)" json:"sex"`
	Tel    string `gorm:"type:char(11)" json:"tel"`
	Doctor string `gorm:"type:varchar(30)" json:"doctor"`
	Time   string `gorm:"type:varchar(30)" json:"time"`
	Num    int    `gorm:"type:int" json:"num"`
	Zt     string `gorm:"type:varchar(30)" json:"zt"`
	Text   string `gorm:"type:varchar(30)" json:"text"`
}
type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30)" json:"username"`
	Password string `gorm:"type:varchar(100)" json:"password"`
}
